package com.gem.back.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gem.back.entity.AoaScheduleList;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author hhhy
 * @since 2020-02-22
 */
@Repository
public interface AoaScheduleListMapper extends BaseMapper<AoaScheduleList> {
    /**
     * 查询各部门的日程管理
     */
    List<AoaScheduleList> findScheduleList(@Param("beginPage") Integer beginPage, @Param("pageCount") Integer pageCount, @Param("title") String title,@Param("id") Integer userId);
    /**
     * 查询总记录数
     */
    Integer getTotal(@Param("title") String title,Integer id);
}
